﻿using System;

namespace XchangeStreamer.Types
{
    public sealed class Trade : IResource
    {
        #region Public Properties

        public string BuyOrderNumber
        {
            get;
            set;
        }

        public string SellOrderNumber
        {
            get;
            set;
        }

        public TimeSpan Time
        {
            get;
            set;
        }

        public decimal LeValue
        {
            get;
            set;
        }

        public decimal Value
        {
            get;
            set;
        }

        public UInt32 Volume
        {
            get;
            set;
        }

        public decimal Price
        {
            get;
            set;
        }

        public string TicketNumber
        {
            get;
            set;
        }

        public string MarketCode
        {
            get;
            set;
        }

        public string SymbolCode
        {
            get;
            set;
        }

        public DateTime Date
        {
            get;
            set;
        }

        #endregion

        #region IResource Members

        bool IResource.IsResourceUsed
        {
            get;
            set;
        }

        #endregion
    }
}